package com.jhgk.jhcee.system.service;

import com.jhgk.jhcee.common.resultful.BasisResultful;
import com.jhgk.jhcee.data.auth.entity.SysMenuInfo;
import com.jhgk.jhcee.data.auth.entity.SysRoleInfo;
import com.jhgk.jhcee.system.domain.model.SysRoleInfoModel;

import java.util.List;

/**
 * @author: xiezhongping
 * @description:
 * @date: 2021/8/25 10:41.
 */
public interface SysRoleInfoService {
    List<SysRoleInfo> getRoleList(Long userId);

    List<SysMenuInfo> getMenuList(Long userId);

    BasisResultful<Object> roleAllList(SysRoleInfoModel sysRoleInfoModel);

    BasisResultful<Object> addRole(SysRoleInfoModel sysRoleInfoModel);

    BasisResultful<Object> updateRole(SysRoleInfoModel sysRoleInfoModel);

    BasisResultful<Object> deleteRole(SysRoleInfoModel sysRoleInfoModel);

    BasisResultful<Object> setRoleStatus(Long roleId, Integer status);

    BasisResultful<Object> getRoleAll();
}
